<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>ad_main.jsp</title>
</head>
<jsp:useBean id="sd" class="uiux4.SessionData" scope="session"/>
<jsp:useBean id="as" class="uiux4.SessionData" scope="session"/>
<body>
	<div class=title>광고를 표시할 페이지</div>
	<ul>
		<li><%=sd.getMid() %></li>
		<li><input type=radio name="ra" id="ra" value='스포츠'>스포츠 ~_~ </li>
		<li><input type=radio name="ra" id="ra" value='관광'>관광 +_+ </li>
		<li><input type=radio name="ra" id="ra" value='맛집'>맛집 *_* </li>
	</ul>
	<input type="button" id="Ok" value="확인">
	<script>
		document.getElementById('Ok').onclick = function()
		{
			</script>
			<jsp:setProperty property="mid" name="sd" value="<script>document.getElementById('ra').value</script>"/>
			<script>
		};
	
	</script>
</body>
</html>